package org.gitman.filmBase.view;

import java.awt.BorderLayout;

import javax.swing.JFrame;

import org.gitman.filmBase.view.tools.ResourcesLoader;

public class SettingsFrame extends JFrame{
	private static int WIDTH = 500;
	private static int HEIGHT = 500;
	private static String TITLE = "Ustawienia";
	private ResourcesLoader resourcesLoader;
	
	
	public SettingsFrame(MainFrame mainFrame){
		setSize(WIDTH, HEIGHT);
		setLocationRelativeTo(mainFrame);
		resourcesLoader = ResourcesLoader.getInstance();		
		setLayout(new BorderLayout());
		setIconImage(resourcesLoader.getSmallIcon("settings.png").getImage());
		setTitle(TITLE);
	}
}
